<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>打地鼠游戏</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="game-container">
        <h1>打地鼠游戏</h1>
        <div class="score-container">
            <p>得分: <span id="score">0</span></p>
            <p>时间: <span id="time">30</span>秒</p>
        </div>
        <div class="game-board">
            <!-- 游戏格子将通过JavaScript动态生成 -->
        </div>
        <div class="controls">
            <button id="start-btn">开始游戏</button>
            <button id="reset-btn">重置游戏</button>
        </div>
        <div id="game-over" class="hidden">
            <h2>游戏结束!</h2>
            <p>最终得分: <span id="final-score">0</span></p>
            <button id="play-again-btn">再玩一次</button>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>